home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-10-25 | 980 b | 32 lines | [TEXT/CWIE] |
- // ===========================================================================
- // PP Basic Starter.h ©1994-1996 Metrowerks Inc. All rights reserved.
- // ===========================================================================
-
- #pragma once
-
- #include <LApplication.h>
- #include <LListener.h>
-
-
- class LWindow;
-
- class MMapp : public LApplication,
- public LListener {
- public:
- MMapp(); // constructor registers all PPobs
- virtual ~MMapp(); // stub destructor
-
- // this overriding function performs application functions
-
- virtual Boolean ObeyCommand(CommandT inCommand, void* ioParam);
-
- // this overriding function returns the status of menu items
-
- virtual void FindCommandStatus(CommandT inCommand,
- Boolean &outEnabled, Boolean &outUsesMark,
- Char16 &outMark, Str255 outName);
- virtual void ListenToMessage(MessageT theMessage, void *ioParam );
- protected:
- LWindow *MM_Window;
- virtual void StartUp(); // overriding startup functions
- };